package com.happe.foodeasy.relation.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * This custom annotation is used to declare the relative between two classes.
 * This annotation declared on one field, explain current class have one foreign key relation
 * with declared field corresponding class.
 * Created by wubin on 2016-05-08.
 */
@RelationalMarkAnnotation
@Target(ElementType.FIELD)
@Retention(RetentionPolicy.RUNTIME)
public @interface ManyToOneCustom {
    String value() default "";
}
